﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace T.S.BaseData.Infrastructure.Base
{
    /// <summary>
    /// 仓储接口
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface IBaseRepository<T> where T :class
    {

        int Crate(T t);

        int Update(T t);

        IQueryable<T> GetAll();

        T GetModel(int Id);
    }
}
